// 本模块用来调用首页接口与相关逻辑处理
import axios from 'axios';

export default {
	// 获奖作品
	works(data) {
		return axios({
			url: 'api/award-work',
			method: 'get',
			params: {
				per_page: data.per_page,
                page: data.page,
			}
		})
	},
	worksDetails (id) {
		return axios({
			url: 'api/award-work/'+id,
			method: 'get',
			params:{}
		})
    },
}
